package com.cfswt.tasksystem.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class Record {
    private Integer id;
    private String demandId;
    private String subject;
    private String companyName;
    private String contactor;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date contactTime;
    private String contactMethod;
    private String userName;
    private List<RecordSummary> recordSummaries;
    private String recordAttachment;
}
